﻿using System;

namespace Model
{
    /// <summary>
    /// Describes request in QSM.
    /// </summary>
    public class Request
    {
        /// <summary>
        /// Unique identifier.
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// Initialization time.
        /// </summary>
        public double InitTime { get; set; }

        /// <summary>
        /// Common service time.
        /// </summary>
        public double CommonServiceTime { get; set; }

        /// <summary>
        /// Common waiting time.
        /// </summary>
        public double CommonWaitingTime { get; set; }

        /// <summary>
        /// Waiting time in last queue.
        /// </summary>
        public double LastQueueWaitingTime { get; set; }

        public Request()
        {
            Id = Guid.NewGuid();
            InitTime = 0;
            CommonServiceTime = 0;
            CommonWaitingTime = 0;
            LastQueueWaitingTime = 0;
        }
    }
}
